<div class="personTatal" id="total">
    <app-head-title title="个人报工总览" isscreen="true" (follow)="screeningMethod(isapply)"></app-head-title>
    <div class="nav_tab">
        <ul class="clearfix">
            <li (click)="tabCub('我的申请')" [ngClass]="{'active': isapply}">我的申请</li>
            <li (click)="tabCub('我的报工')" [ngClass]="{'active': iswork}">我的报工</li>
        </ul>
    </div>
    <div class="personTatal_list">
        <div class="apply mescroll" [ngClass]="{showapply: isapply,hiddenministry:iswork} " id="apply" (scroll)="applyScroll($event)" >
            <div class="personTatal_list_one" [routerLink]="['/WorkDeail']" [queryParams]="{id:item.SubmitNo}" *ngFor="let item of dataList">
                <ul>
                    <li>
                        <h3>{{item.SubmitNo}} <span class="edit">详情 <i class="icon_arrow"></i></span></h3>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title" *ngIf="item.DailyWorkType === '2'"><i>项目名称：</i><span class="float_right">{{item.ProName}}</span></h5>
                        <h5 class="small_title" *ngIf="item.DailyWorkType === '1'"><i>机会名称：</i><span class="float_right">{{item.ProName}}</span></h5>
                        <h5 class="small_title"><i>报工日期：</i><span>{{item.WorkDate}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '0'"><i>工作类型：</i><span>工作</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '1'"><i>工作类型：</i><span>加班</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '2'"><i>工作类型：</i><span>请假</span></h5>
                        <h5 class="small_title middle_title"><i>消耗工时：</i><span>{{item.ConsumeTime}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h6 class="small_title">
                            <!-- <p class="small_title">工作内容：</p>
                            <p class="small_content"><span>{{item.WorkContent}}</span></p> -->
                            <i>工作内容：</i><span class="float_right">{{item.WorkContent}}</span>
                        </h6>
                    </li>
                </ul>
            </div>
        </div>
        <div class="ministry mescroll" [ngClass]="{showapply:iswork ,hiddenministry:isapply} " id="ministry" (scroll)="ministryScroll($event)">
            <div class="personTatal_list_one" *ngFor="let item of dataList">
                <ul *ngIf="item.CheckOpin === '0'" [routerLink]="['/WorkDeail']" [queryParams]="{id:item.SubmitNo}">
                    <li>
                        <h3>{{item.SubmitNo}} <span class="edit"> 编辑<i class="icon_arrow"></i></span></h3>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title" *ngIf="item.DailyWorkType === '2'"><i>项目名称：</i><span class="float_right">{{item.ProName}}</span></h5>
                        <h5 class="small_title" *ngIf="item.DailyWorkType === '1'"><i>机会名称：</i><span class="float_right">{{item.ProName}}</span></h5>
                        <h5 class="small_title"><i>报工日期：</i><span>{{item.WorkDate}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '0'"><i>工作类型：</i><span>工作</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '1'"><i>工作类型：</i><span>加班</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '2'"><i>工作类型：</i><span>请假</span></h5>
                        <h5 class="small_title middle_title"><i>消耗工时：</i><span>{{item.ConsumeTime}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h6 class="small_title">
                            <!-- <p class="small_title">工作内容：</p>
                            <p class="small_content"><span>{{item.WorkContent}}</span></p> -->
                            <i>工作内容：</i><span class="float_right">{{item.WorkContent}}</span>
                        </h6>
                    </li>
                    <li class="clearfix">
                        <h6 class="small_title">
                            <p class="small_title">审核状态：</p>
                            <p class="small_content" *ngIf="item.CheckOpin === '1'"><i class="col_ffa">驳回</i>，<span class="ml10">{{item.DismissReason}}</span></p>
                            <p class="small_content" *ngIf="item.CheckOpin === '0'"><i class="s_pass">通过</i></p>
                        </h6>
                    </li>
                </ul>
                <ul *ngIf="item.CheckOpin === '1'" [routerLink]="['/WorkModify']" [queryParams]="{id:item.SubmitNo}">
                    <li>
                        <h3>{{item.SubmitNo}} <span class="edit"> 编辑<i class="icon_arrow"></i></span></h3>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title" *ngIf="item.DailyWorkType === '2'"><i>项目名称：</i><span class="float_right">{{item.ProName}}</span></h5>
                        <h5 class="small_title" *ngIf="item.DailyWorkType === '1'"><i>机会名称：</i><span class="float_right">{{item.ProName}}</span></h5>
                        <h5 class="small_title"><i>报工日期：</i><span>{{item.WorkDate}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '0'"><i>工作类型：</i><span>工作</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '1'"><i>工作类型：</i><span>加班</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '2'"><i>工作类型：</i><span>请假</span></h5>
                        <h5 class="small_title middle_title"><i>消耗工时：</i><span>{{item.ConsumeTime}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h6 class="small_title">
                            <!-- <p class="small_title">工作内容：</p>
                            <p class="small_content"><span>{{item.WorkContent}}</span></p> -->
                            <i>工作内容：</i><span class="float_right">{{item.WorkContent}}</span>
                        </h6>
                    </li>
                    <li class="clearfix">
                        <h6 class="small_title">
                            <p class="small_title">审核状态：</p>
                            <p class="small_content" *ngIf="item.CheckOpin === '1'"><i class="col_ffa">驳回</i>，<span class="ml10">{{item.DismissReason}}</span></p>
                            <p class="small_content" *ngIf="item.CheckOpin === '0'"> <i class="s_pass">通过</i></p>
                        </h6>
                    </li>
                </ul>
                <span *ngIf="item.CheckOpin === '1'" class="icon_tag icon_throught"></span>
                <span *ngIf="item.CheckOpin === '0'" class="icon_tag icon_rejected"></span>
            </div>
            <!-- <div class="personTatal_list_one" [routerLink]="['/WorkModify']" [queryParams]="{id:item.SubmitNo}" *ngFor="let item of dataList">
                <ul>
                    <li>
                        <h3>{{item.SubmitNo}} <span class="edit"> 编辑<i class="icon_arrow"></i></span></h3>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title"><i>项目名称：</i><span>{{item.ProName}}</span></h5>
                        <h5 class="small_title"><i>报工日期：</i><span>{{item.WorkDate}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '0'">工作类型：<span>工作</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '1'">工作类型：<span>加班</span></h5>
                        <h5 class="small_title middle_title" *ngIf="item.WorkType === '2'">工作类型：<span>请假</span></h5>
                        <h5 class="small_title middle_title">消耗工时：<span>{{item.ConsumeTime}}</span></h5>
                    </li>
                    <li class="clearfix">
                        <h6>
                            <p class="small_title">工作内容：</p>
                            <p class="small_content"><span>{{item.WorkContent}}</span></p>
                        </h6>
                    </li>
                    <li class="clearfix">
                        <h6>
                            <p class="small_title">审核状态：</p>
                            <p class="small_content" *ngIf="item.CheckOpin === '1'"> <i class="col_ffa">驳回</i>，<span class="ml10">{{item.DismissReason}}</span></p>
                            <p class="small_content" *ngIf="item.CheckOpin === '0'"> <i class="s_pass">通过</i></p>
                        </h6>
                    </li>
                </ul>
                <span *ngIf="item.CheckOpin === '1'" class="icon_tag icon_throught"></span>
                <span *ngIf="item.CheckOpin === '0'" class="icon_tag icon_rejected"></span>
            </div> -->
        </div>
    </div>
</div>